package com.xxhui.listviewdemo.Bean;

import android.graphics.Bitmap;

/**
 * Created by hui on 2016/7/20.
 */
public class ChatItemBean {
    private int type;
    private String text;
    private Bitmap icon;

    public ChatItemBean() {
    }

    public ChatItemBean(int type, Bitmap icon, String text) {
        this.type = type;
        this.icon = icon;
        this.text = text;
    }

    public Bitmap getIcon() {
        return icon;
    }

    public void setIcon(Bitmap icon) {
        this.icon = icon;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "ChatItemBean{" +
                "icon=" + icon +
                ", type=" + type +
                ", text='" + text + '\'' +
                '}';
    }
}
